

<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="zh-CN" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="zh-CN" > <!--<![endif]-->
<head>
  <meta charset="utf-8">
  
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  
  <title>&lt;no title&gt; &mdash; WeIdentity  文档</title>
  

  
  
  
  

  

  
  
    

  

  <link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
  <link rel="stylesheet" href="../_static/pygments.css" type="text/css" />
  <link rel="stylesheet" href="../_static/theme_overrides.css" type="text/css" />
  <link rel="stylesheet" href="../_static/index.css" type="text/css" />
    <link rel="index" title="索引" href="../genindex.html" />
    <link rel="search" title="搜索" href="../search.html" /> 

  
  <script src="../_static/js/modernizr.min.js"></script>

</head>

<body class="wy-body-for-nav">

   
  <div class="wy-grid-for-nav">

    
    <nav data-toggle="wy-nav-shift" class="wy-nav-side">
      <div class="wy-side-scroll">
        <div class="wy-side-nav-search">
          

          
            <a href="../index.html" class="icon icon-home"> WeIdentity
          

          
          </a>

          
            
            
          

          
<div role="search">
  <form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
    <input type="text" name="q" placeholder="Search docs" />
    <input type="hidden" name="check_keywords" value="yes" />
    <input type="hidden" name="area" value="default" />
  </form>
</div>

          
        </div>

        <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
          
            
            
              
            
            
              <p class="caption"><span class="caption-text">Contents:</span></p>
<ul>
<li class="toctree-l1"><a class="reference internal" href="../README.html">什么是 WeIdentity？</a></li>
<li class="toctree-l1"><a class="reference internal" href="one-stop-experience.html">WeIdentity 一站式体验</a></li>
<li class="toctree-l1"><a class="reference internal" href="terminologies.html">术语</a></li>
<li class="toctree-l1"><a class="reference internal" href="use-cases.html">使用场景</a></li>
<li class="toctree-l1"><a class="reference internal" href="weidentity-spec.html">WeIdentity 规范</a></li>
<li class="toctree-l1"><a class="reference internal" href="weidentity-installation.html">WeIdentity Java SDK 安装部署</a></li>
<li class="toctree-l1"><a class="reference external" href="https://weidentity.readthedocs.io/projects/javasdk/zh_CN/latest/">WeIdentity Java SDK 文档</a></li>
<li class="toctree-l1"><a class="reference internal" href="weidentity-sample.html">WeIdentity Sample 开发样例</a></li>
<li class="toctree-l1"><a class="reference internal" href="miscellaneous.html">杂项</a></li>
<li class="toctree-l1"><a class="reference internal" href="faq.html">FAQ</a></li>
<li class="toctree-l1"><a class="reference internal" href="weidentity-rest.html">WeIdentity RestService</a></li>
<li class="toctree-l1"><a class="reference internal" href="weidentity-endpoint.html">WeIdentity Endpoint Service</a></li>
<li class="toctree-l1"><a class="reference internal" href="weidentity-contract-design.html">WeIdentity 智能合约设计与实现</a></li>
</ul>

            
          
        </div>
      </div>
    </nav>

    <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">

      
      <nav class="wy-nav-top" aria-label="top navigation">
        
          <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
          <a href="../index.html">WeIdentity</a>
        
      </nav>


      <div class="wy-nav-content">
        
        <div class="rst-content">
        
          















<div role="navigation" aria-label="breadcrumbs navigation">

  <ul class="wy-breadcrumbs">
    
      <li><a href="../index.html">Docs</a> &raquo;</li>
        
      <li>&lt;no title&gt;</li>
    
    
      <li class="wy-breadcrumbs-aside">
        
            
            <a href="../_sources/docs/produce-pdf-template-by-acrobat.md.txt" rel="nofollow"> View page source</a>
          
        
      </li>
    
  </ul>

  
  <hr/>
</div>
          <div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
           <div itemprop="articleBody">
            
  <p><strong>使用Acrobat Pro DC制作PDF模板</strong>
<br></p>
<ol>
<li><p>安装NotoSansCJKtc-Regular.ttf 字体。<a class="reference external" href="https://raw.githubusercontent.com/WeBankBlockchain/WeIdentity/master/dist/lib/NotoSansCJKtc-Regular.ttf">字体下载链接</a><br></p></li>
<li><p>打开Acrobat Pro DC，点击编辑选项-&gt;首选项-&gt;内容编辑，设置用于添加文本的默认字体为NotoSansCJKtc-Regular.ttf<br></p>
<p><img alt="设置添加文本默认字体" src="../_images/produce-pdf-template-1.png" /> <br>
<br></p>
</li>
<li><p>进入工具选择界面<br></p>
<p><img alt="工具选择界面" src="../_images/produce-pdf-template-2.png" /> <br>
<br></p>
</li>
<li><p>选择从空PDF页面创建PDF或者指定某个PDF文件<br></p>
<p><img alt="从空白页面创建PDF" src="../_images/produce-pdf-template-3.png" /> <br>
<br></p>
</li>
<li><p>创建PDF后，选择编辑PDF<br></p>
<p><img alt="编辑PDF" src="../_images/produce-pdf-template-4.png" /> <br>
<br></p>
</li>
<li><p>点击添加文本，添加需要设置的域；注意字体是否为NotoSansCJKtc-Regular.ttf，添加文本完成后选择保存<br></p>
<p><img alt="添加文本" src="../_images/produce-pdf-template-5.png" /> <br>
<br></p>
</li>
<li><p>进入工具选项，选择准备表单<br></p>
<p><img alt="准备表单" src="../_images/produce-pdf-template-6.png" /> <br>
<br></p>
</li>
<li><p>选择已添加文本的PDF文件<br></p>
<p><img alt="选择文件" src="../_images/produce-pdf-template-7.png" /> <br>
<br></p>
</li>
<li><p>选择插入表单<br></p>
<p><img alt="插入表单" src="../_images/produce-pdf-template-8.png" /> <br></p>
</li>
<li><p>设置表单的名称属性，若cpt包含多级，则用“-”连接各级的key值，以确保唯一性。如cpt中各级为courses、title、cn等，其中courses是一个数组，则必须使用courses[i]来标识是第几个元素<br></p>
<p><img alt="设置表单一般属性" src="../_images/produce-pdf-template-9.png" /> <br></p>
</li>
<li><p>设置表单文本域中填入文本的字体及其字体大小。请使用前面步骤安装的NotoSansCJKtc-Regular.ttf字体作为文本字体。选择字体大小时注意文本框大小，如果无法确认将填入的文本长度，可选择字体大小为自动<br></p>
<p><img alt="设置表单外观属性" src="../_images/produce-pdf-template-10.png" /> <br>
<br></p>
</li>
<li><p>设置表单文本域中填入文本的对齐方式，并勾选滚动显示长文本<br></p>
<p><img alt="设置表单选项属性" src="../_images/produce-pdf-template-11.png" /> <br>
<br></p>
</li>
<li><p>添加完成后点击保存即可<br></p>
<p><img alt="保存文件" src="../_images/produce-pdf-template-12.png" /> <br>
<br>
<br>
<strong>注意事项：</strong></p>
</li>
</ol>
<ul class="simple">
<li><p>必须要先安装指定字体，并用指定字体设置文本以及表单。</p></li>
<li><p>NotoSansCJKtc-Regular.ttf字体为google开源字体，不存在商用版权问题。</p></li>
<li><p>确保多级cpt中各级使用“-”连接。</p></li>
<li><p>如果编辑PDF文件时遇到“无法找到或创建字体XXX，某些字体可能无法正确显示或打印”问题时，把相应字体文件复制到Adobe安装目录下的Adobe/Acroba DC/Resource/CIDFont文件夹中，重启Acrobat Pro DC即可。</p></li>
</ul>


           </div>
           
          </div>
          <footer>
  

  <hr/>

  <div role="contentinfo">
    <p>
        &copy; Copyright (2018) WeBank Co., Ltd.

    </p>
  </div>
  Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/rtfd/sphinx_rtd_theme">theme</a> provided by <a href="https://readthedocs.org">Read the Docs</a>. 

</footer>

        </div>
      </div>

    </section>

  </div>
  


  

    
    
      <script type="text/javascript" id="documentation_options" data-url_root="../" src="../_static/documentation_options.js"></script>
        <script src="../_static/jquery.js"></script>
        <script src="../_static/underscore.js"></script>
        <script src="../_static/doctools.js"></script>
        <script src="../_static/language_data.js"></script>
        <script src="../_static/translations.js"></script>
    

  

  <script type="text/javascript" src="../_static/js/theme.js"></script>

  <script type="text/javascript">
      jQuery(function () {
          SphinxRtdTheme.Navigation.enable(true);
      });
  </script> 

</body>
</html>